package sk.openit.xml.entity;

public class DbConfig {
	private String dbType;
	private String host;
	private String port;
	private String instance;
	private String database;
	private String user;
	private String password;
	
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getInstance() {
		return instance;
	}
	public void setInstance(String instance) {
		this.instance = instance;
	}
	public String getDatabase() {
		return database;
	}
	public void setDatabase(String database) {
		this.database = database;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDbType() {
		return dbType;
	}
	public void setDbType(String dbType) {
		this.dbType = dbType;
	}
	@Override
	public String toString() {
		return String
				.format("DbConfig [dbType=%s, host=%s, port=%s, instance=%s, database=%s, user=%s]",
						dbType, host, port, instance, database, user);
	}
}
